package com.sto.stoapp.http.request;

import com.sto.stoapp.db.StoFilePreference;
import com.sto.stoapp.util.DateUtil;
import com.sto.stoapp.util.TraceUtil;

import android.content.Context;

/**
 * 用户注销
 * 
 * @author cjb
 * 
 */
public class LogoutResquest extends BaseRequest {

	public LogoutResquest(Context c) {
		opOrgCode = StoFilePreference.getInstance(c).getSiteCode();
		deviceType = "PDA";
		opTerminal = StoFilePreference.getInstance(c).getMachineCode();
		tid = StoFilePreference.getInstance(c).getMachineCode();
		empCode =StoFilePreference.getInstance(c).getSiteCode()+StoFilePreference.getInstance(c).getUserCode();
		logoffTime = DateUtil.getDateTime();
		trace = TraceUtil.getTraceTimes();
		sessionId = StoFilePreference.getInstance(c).getSessionId();
		mty = "0852";
	}

	public String opOrgCode;
	public String opCode;
	public String deviceType;

	public String opTerminal;
	public String empCode;
	public String logoffTime;

}
